const { defineConfig } = require('@vue/cli-service')
let proxyObj = {};
proxyObj["/"] = {
    ws:false, // webSocket
    target: "http://127.0.0.1:38081", // 后端的地址
    changeOrigin: true,
    pathRewrite: {
        '^/':''
    }
}
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave:false,
  devServer: {
    port: 38080,
    proxy: proxyObj
  },
  publicPath:'./'
})
